<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.thymeleaf.org" th:fragment="part">
<head>
    <title>viewDGroup</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css" th:href="@{/css/style.css}" />
    <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
    <script type="text/javascript" src="../js/om/hrmlog.js"></script>
</head>
<body>
<div id="wrap">
    <div id="wrapper">
        <ul class="first">
            <li><a href="/om/viewOUser">组织党员管理</a></li>
            <li><a href="/om/viewDGroup">组织管理</a></li>
            <li><a href="/om/viewOPost">组织帖子管理</a></li>
        </ul>
    </div>
    <div id="big">
        <div id="top_content">
            <div id="content">
                <table class="table">
                    <tr class="table_header">
                        <td width="287px">
                            组织ID
                        </td>
                        <td width="287px">
                            组织名称
                        </td>
                        <td width="287px">
                            组织人数
                        </td>
                        <td width="287px">
                            操作
                        </td>
                    </tr>
                </table>
                <table class="table" id="adminTbody">
                    <tr th:each="dgroup,dgroupstate:${dgroup}"th:class="${dgroupstate.odd?'row1':'row2'}">
                        <td width="287px">
                            <span th:text="${dgroup.gid}"></span>
                        </td>
                        <td width="287px">
                            <span th:text="${dgroup.gname}"></span>
                        </td>
                        <td width="287px">
                            <span th:text="${dgroup.gcount}"></span>
                        </td>
                        <td width="287px">
                            <a th:href="@{modifyDGroup(gid=${dgroup.gid})}">修改</a>
                        </td>
                    </tr>
                </table>
                <div class="layui-card-body ">
                    <div class="page">
                        <div>
                            <a class="num" href="###" id="firstPage">首页</a>
                            <a class="prev" href="###" id="prePage">&lt;&lt;</a>
                            <span class="current" id="currentPage"></span>
                            <a class="next" href="###"id="nextPage">&gt;&gt;</a>
                            <a class="num" href="###" id="lastPage">尾页</a>
                            <a class="num" href="###" id="totalpage"></a>
                            <a class="num"> <select  id="jumpWhere"> </select></a>
                            <a href="###" id="jumpPage" onclick="jumpPage()">跳转</a>
                            <a class="num" id="countsum"></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>